1ec02918e97d63332b2502f8d83a7dbd33537f7a,src/main/java/com/rollbar/payload/data/body/Trace.java,Trace,fromThrowable,#Throwable#,20
Before Change
public static Trace fromThrowable(Throwable error) throws ArgumentNullException {
Validate.isNotNull(error, "error");
Frame[] frames = Frame.fromThrowable(error);
ExceptionInfo exceptionInfo = ExceptionInfo.fromThrowable(error);
return new Trace(frames, exceptionInfo);
After Change
* @throws ArgumentNullException if error is null
*/
public static Trace fromThrowable(Throwable error) throws ArgumentNullException {
return fromThrowable(error, null);
}
/**